package com.xxxy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

@SpringBootApplication
@EnableAuthorizationServer // 开启授权服务器功能
@MapperScan("org.example.mapper")
public class authServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(authServerApplication.class, args);
    }
}
